package com.haixiaoke.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.common.annotation.Excel;
import com.haixiaoke.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 亚略特智能锁授权信息对象 biz_lock_ylt_accredit
 *
 * @author qixi
 * @date 2023-06-02
 */
@Data
public class LockYltAccredit extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /**
     * 授权状态 0否 1是
     */
    public static final Integer AUTH_STATE_FALSE = 0;
    public static final Integer AUTH_STATE_TRUE = 1;

    /** id */
    private Long id;

    /** 智能锁品牌id */
    private Long brandId;

    /** 亚略特授权id */
    @Excel(name = "亚略特授权id")
    private String authId;

    /** 智能锁sn */
    @Excel(name = "智能锁sn")
    private String lockSn;

    /** 授权用户标识 */
    @Excel(name = "授权用户标识")
    private String identification;

    /** 人脸授权状态: */
    @Excel(name = "人脸授权状态:")
    private Long faceUnlockState;

    /** 密码授权状态: */
    @Excel(name = "密码授权状态:")
    private Long pwdUnlockState;

    /** 身份证授权状态: */
    @Excel(name = "身份证授权状态:")
    private Long cardUnlockState;

    /** 蓝牙授权状态 */
    @Excel(name = "蓝牙授权状态")
    private Long bluetoothUnlockState;

    /** 指纹授权状态 */
    @Excel(name = "指纹授权状态")
    private Long fingerUnlockState;

    /** IC卡授权状态: */
    @Excel(name = "IC卡授权状态:")
    private Long icCardUnlockState;

    /** 授权开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date authStartTime;

    /** 授权结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date authEndTime;


}
